// 案件数据类型
export interface CaseData {
  id: string;
  title: string;
  description: string;
  difficulty: string;
  status: string;
  background?: string;
  suspects?: SuspectData[];
  clues?: ClueData[];
  victim?: VictimData;
}

// 嫌疑人数据类型
export interface SuspectData {
  id: string;
  name: string;
  age: number;
  occupation: string;
  relationToVictim: string;
  description: string;
  statements?: StatementData[];
  isGuilty?: boolean;
}

// 受害者数据类型
export interface VictimData {
  name: string;
  age: number;
  occupation: string;
  causeOfDeath?: string;
  timeOfDeath?: string;
}

// 线索数据类型
export interface ClueData {
  id: string;
  description: string;
  type: string; // 物证、口供、照片等
  relatedTo?: string; // 相关的嫌疑人ID或案件ID
  isKey?: boolean; // 是否是关键线索
}

// 陈述数据类型
export interface StatementData {
  id: string;
  content: string;
  isTruthful?: boolean;
  isKey?: boolean;
  timestamp?: Date;
}

// 用户统计数据类型
export interface UserStats {
  totalCases: number;
  solvedCases: number;
  successRate: number;
  currentCase?: string;
  lastPlayed?: Date;
}